﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ChangePassword.ascx.cs"
    Inherits="Control_ChangePassword" %>
<%@ Register Assembly="mybutton" Namespace="BlogLan.Web.Controls" TagPrefix="cc1" %>
<style type="text/css">
.qyxx_1_6_1{width:auto;}
</style>
<div class="xgmm_1_1">
<h3 style="color:Red; text-align:left;"><asp:Localize ID="info" runat="server"></asp:Localize></h3>

    <div class="xgmm_1_2">
        <div class="xgmm_1_3">
            旧 密 码：</div>
        <div class="qyxx_1_6_1  widthauto alignLeft">
            <asp:TextBox ID="tbOldPwd" runat="server" TextMode="Password" 
                CssClass="qyxx_1_7_1"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rvOldPwd" 
                runat="server"
                ControlToValidate="tbOldPwd"
                ErrorMessage="*">
            </asp:RequiredFieldValidator>
        </div>
    </div>
    <div class="xgmm_1_2">
        <div class="xgmm_1_3">
            新 密 码：</div>
        <div class="qyxx_1_6_1 widthauto alignLeft">
        <asp:TextBox ID="tbNewPwd" runat="server" TextMode="Password" CssClass="qyxx_1_7_1"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rvtbNewPwd" 
                runat="server"
                ControlToValidate="tbNewPwd"
                 Display="Dynamic"
                ErrorMessage="*">
            </asp:RequiredFieldValidator>
        </div>
    </div>
    <div class="xgmm_1_2">
        <div class="xgmm_1_3">
            确认密码：</div>
        <div class="qyxx_1_6_1 widthauto alignLeft">
        <asp:TextBox ID="tbConfrimNewPwd" runat="server" TextMode="Password" 
                CssClass="qyxx_1_7_1"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rvtbConfrimNewPwd" 
                runat="server"
                ControlToValidate="tbConfrimNewPwd"
                Display="Dynamic"
                ErrorMessage="*">
            </asp:RequiredFieldValidator>
            <asp:CompareValidator ID="cvtbConfrimNewPwd" runat="server" 
                ControlToValidate="tbConfrimNewPwd"
                ControlToCompare="tbNewPwd"
                Display="Dynamic"
                ErrorMessage="两次密码输入不一致"></asp:CompareValidator>
        </div>
    </div>
    <div class="xgmm_1_4">
        <span>提示：</span> 由6-16个英文、数字、及下划线组成</div>
    <div class="xgmm_1_5">
         <cc1:ClickOnceButton ID="save" runat="server" Text="保存" onclick="save_Click" /></div>
</div>
